package com.ftg.learn.service;

import com.ftg.learn.mapper.DeptMapper;
import com.ftg.learn.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptService {

    @Autowired
    DeptMapper deptMapper;

    public List<Dept> show() {
        return deptMapper.show();
    }

}
